<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="jquery-1.3.1.js" type="text/javascript"></script>
<script src="1.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
	$.ajaxSetup ({ 
		cache: false 
	});

	$("#type_p").load("test2.php?action=province");

	$("#type_p").change(function () {
		$("#type_c").load("test2.php?action=city&pid="+$('#area_p').val());
		//alert("hi!")
			
	})
	$("#type_c").change(function () {
		$("#type_a").load("test2.php?action=area&pid="+$('#area_c').val());
		//alert("hi!")
			
	})

})



</script>
<title>无标题文档</title>
</head>

<body>
<div id="type_p" class="type_p"></div>
<div id="type_c" class="type_c"></div>
<div id="type_a" class="type_a"></div>
</body>
</html>